﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Joker.View {
    public partial class Processor : Form {
        public int t = 0;
        public Processor() {
            InitializeComponent();
        }

        private void Processor_Load(object sender, EventArgs e) {
            timer1.Enabled = true;
        }

        private void timer1_Tick(object sender, EventArgs e) {
            t++;
            if (t >= 100) {
                timer1.Enabled = false;
                Close();
            }
            progressBar1.Value = t;
        }
    }
}
